Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coffee Chat Archive/Unarchive Button #872

Merged
merged 23 commits into from
Mar 9, 2025
Merged

Conversation

JasonMun7
Copy link
Contributor

Summary

This PR adds the functionality for Admins to be able to both Archive and Unarchive all coffee chats to give a clean slate for every semester.

  • Added archiveCoffeeChats and unarchiveCoffeeChats to CoffeeChatDao.ts
  • Added endpoints for both archive/unarchive in api.ts and loginCheckedPatch for patch REST
  • Added functions for both the backend/frontend coffeeChatAPI.ts and CoffeeChatAPI.ts
  • Created patch Request in the APIWrapper.ts
  • Added Archive/Unarchive buttons to CoffeeChats.tsx (Gives success alert once finished!)

Notion Link

Test Plan

Screen.Recording.2025-03-02.at.2.43.16.PM.mov

@JasonMun7 JasonMun7 requested a review from a team as a code owner March 2, 2025 19:45
@dti-github-bot
Copy link
Member

dti-github-bot commented Mar 2, 2025

[diff-counting] Significant lines: 95.

@JasonMun7 JasonMun7 requested a review from cchrischen March 5, 2025 21:01
Copy link
Collaborator

@cchrischen cchrischen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay! thanks jason

@JasonMun7 JasonMun7 merged commit 870f697 into main Mar 9, 2025
13 checks passed
@JasonMun7 JasonMun7 deleted the jjm493/cc_archive_button branch March 9, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants